<script setup lang="ts">
	import {
		getCurrentInstance, onMounted, unref
	} from "vue";
	const { proxy } = getCurrentInstance();
	onMounted(() => {
		console.log(unref(proxy['vuex_token']), 'proxy');
		if (unref(proxy['vuex_token'])) {
			uni.reLaunch({
				url: 'pages/index/index'
			})
		}
	})
</script>

<style lang="scss">
	/*每个页面公共css */
	@import 'static/scss/globalClass.scss';
	@import "@/uni_modules/uview-plus/index.scss";
</style>